package com.wy.system.domain;

import com.wy.common.annotation.Excel;
import com.wy.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 员工管理对象 sys_staff
 * 
 * @author ruoyi
 * @date 2023-03-03
 */
public class SysStaff extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工编号 */
    private Long id;

    /** 员工id */
    @Excel(name = "员工id")
    private Long user;

    /** 员工类型 */
    @Excel(name = "员工类型")
    private String type;

    /** 员工负责区域 */
    @Excel(name = "员工负责区域")
    private Long area;

    /** 员工工资 */
    @Excel(name = "员工工资")
    private Long payAll;

    /** 员工本月奖励 */
    @Excel(name = "员工本月奖励")
    private Long payAdd;

    /** 员工本月惩罚 */
    @Excel(name = "员工本月惩罚")
    private Long payLose;

    /** 员工本月实际工资 */
    @Excel(name = "员工本月实际工资")
    private Long payTotal;

    /** 员工本月工资发放状态 */
    @Excel(name = "员工本月工资发放状态")
    private String payStatus;

    /** 员工状态 */
    @Excel(name = "员工状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUser(Long user) 
    {
        this.user = user;
    }

    public Long getUser() 
    {
        return user;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setArea(Long area) 
    {
        this.area = area;
    }

    public Long getArea() 
    {
        return area;
    }
    public void setPayAll(Long payAll) 
    {
        this.payAll = payAll;
    }

    public Long getPayAll() 
    {
        return payAll;
    }
    public void setPayAdd(Long payAdd) 
    {
        this.payAdd = payAdd;
    }

    public Long getPayAdd() 
    {
        return payAdd;
    }
    public void setPayLose(Long payLose) 
    {
        this.payLose = payLose;
    }

    public Long getPayLose() 
    {
        return payLose;
    }
    public void setPayTotal(Long payTotal) 
    {
        this.payTotal = payTotal;
    }

    public Long getPayTotal() 
    {
        return payTotal;
    }
    public void setPayStatus(String payStatus) 
    {
        this.payStatus = payStatus;
    }

    public String getPayStatus() 
    {
        return payStatus;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("user", getUser())
            .append("type", getType())
            .append("area", getArea())
            .append("payAll", getPayAll())
            .append("payAdd", getPayAdd())
            .append("payLose", getPayLose())
            .append("payTotal", getPayTotal())
            .append("payStatus", getPayStatus())
            .append("status", getStatus())
            .toString();
    }
}
